Over the weekend, I built a interactive 3D Rubik's cube simulator in python using only matplotlib for all the graphics and interaction. Check out the demonstration here: You can browse the source code at the MagicCube github repository: http://github.